import { MockMethod } from 'vite-plugin-mock'

const noticeList = [{
  "status": "0",
  "createBy": "3123",
  "createTime": 1602863338000,
  "updateBy": "123",
  "updateTime": 1614435536000,
  "deleteStatus": "1",
  "id": "160286333803309",
  "title": "测试12"
}]

export default [
  {
    url: '/mock/system/notice/list',
    method: 'get',
    response: ({ query,data }) => {
      return {
        code: 200,
        data: noticeList,
        message: '操作成功',
        total: 1
      }
    }
  }
] as MockMethod[]